<option value="0">---顶级菜单---</option>
#define menu_option(list,selectValue)
    #for(showMenu:list)
        #if (showMenu.menu.id == selectValue)
            <option class="active-result" value="#(showMenu.menu.id)" selected="1">
                #if(showMenu.menu.parentId != 0)
                    #(showMenu.parentMenu.title)--#(showMenu.menu.title)
                #else
                    #(showMenu.menu.title)
                #end
            </option>
        #else
            <option class="active-result" value="#(showMenu.menu.id)">
                #if(showMenu.menu.parentId != 0)
                    #(showMenu.parentMenu.title)---#(showMenu.menu.title)
                #else
                    #(showMenu.menu.title)
                #end
            </option>
        #end
        #@menu_option(showMenu.subShowMenuList,selectValue)
    #end
#end